/*
 *  ofxJSGlu.h
 *  liveCoding
 *
 *  Created by Julien Gachadoat on 20/09/09.
 *  Copyright 2009 2Roqs. All rights reserved.
 *
 */

#ifndef OFX_JSGLU_H
#define OFX_JSGLU_H

#include "ofxJavascript.h"
#include "ofxJSUtils.h"

class ofxJSGlu
{
	public:
		ofxJSGlu			();
		~ofxJSGlu			();

		static ofxJSGlu*		smp_instance;
		static ofxJSGlu*		instance();
		static void				initialize		();
		static void				finalize		();

		/* javascript functions */
		void					Perspective		(float fovy,float aspect,float zNear,float zFar);
		void					LookAt			(float eyeX,float eyeY,float eyeZ,float centerX,float centerY,float centerZ,float upX,float upY,float upZ);
		/* end */

	#include "js/ofxJSGlu.h"
};


#endif